package cz.tpj.database.typ_zaujimavost;

import static org.junit.Assert.*;

import org.junit.Test;

import cz.tpj.util.ErrorDatabase;

public class Typ_zaujimavostTest {

	@Test
	public void testId() {
		Typ_zaujimavost o1 = new Typ_zaujimavost();
		
		try {
			o1.setId("1");
		} catch (ErrorDatabase e) {
			e.printStackTrace();
		}
		
		assertEquals("1", o1.getId());
	}

	@Test
	public void testMeno() {
		Typ_zaujimavost o1 = new Typ_zaujimavost();
		
		try {
			o1.setMeno("name");
		} catch (ErrorDatabase e) {
			e.printStackTrace();
		}
		
		assertEquals("name", o1.getMeno());
	}

}
